package com.lineengine.lineengine.node;


import com.lineengine.lineengine.context.IContext;

/**
 * <p>
 * IRollback
 * </p >
 *
 * @author wenrong.yu
 * @since 2020-12-30 20:11
 */
@FunctionalInterface
public interface IRollback<T extends IContext<T>> {
    /**
     * 回滚
     *
     * @param context 上下文
     */
    void rollback(T context);
}
